package cn.itcast.myim.model.dao;

//邀请信息的表
public class InviteTable {
    public static final String TAB_NAME = "tab_invite";

    public static final String COL_USER_HXID = "user_hxid";     //用户的环信id
    public static final String COL_USER_NAME = "user_name";     //用户名

    public static final String COL_GROUP_HXID = "group_hxid";   //群组的环信id
    public static final String COL_GROUP_NAME = "group_name";   //群组名

    public static final String COL_REASON = "reason";       //邀请的原因
    public static final String COL_STATUS = "status";       //邀请的状态

    //建表语句
    public static final String CREATE_TAB = "create table " + TAB_NAME + " ("
            + COL_USER_HXID + " text primary key,"
            + COL_USER_NAME + " text,"
            + COL_GROUP_HXID + " text,"
            + COL_GROUP_NAME + " text,"
            + COL_REASON + " text,"
            + COL_STATUS + " integer);";
}
